<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                template="/templates/mainLayout.xhtml">

    <ui:define name="title">index</ui:define>
    <ui:define name="content">
        <f:metadata>
            <f:viewParam id="logginRequire" name="loggin_require" value="#{homeBean.logginRequire}" />
            <f:viewParam id="logginError" name="loggin_error" value="#{homeBean.logginError}" />
        </f:metadata>
        
        <f:event type="preRenderView" listener="#{homeBean.preRenderIndexAction()}" />
        <p:messages id="msgs"/>
        <h:form id ="contentForm">
            <p:panel header="Vfriends Payment" style="width: 80%; margin-top: 10px; margin-left: auto; margin-right: auto; margin-bottom: 10px;">
                <p>
                    Cổng thanh toán cho các dịch vụ của Vfriends.<br/>
                    Chấp nhận thanh toán bằng SMS, thẻ điện thoại, ATM.
                </p>
            </p:panel>
        </h:form>
    </ui:define>
</ui:composition>